 

package com.zdkj.subway.rca.service;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.IService;
import com.zdkj.subway.rca.entity.SwCkBomSmallPayment;
import org.springframework.web.multipart.MultipartFile;

import javax.servlet.http.HttpServletResponse;
import java.time.LocalDate;
import java.util.List;
import java.util.Map;


/**
 * BOM小额支付平台数据汇总表
 *
 * @author stw
 * @date 2020-10-27 20:28:52
 */
public interface SwCkBomSmallPaymentService extends IService<SwCkBomSmallPayment> {
    /**
     * Excel模版导出
     * @param verfiyConfirmFlag
     * @param response
     */
	void exportTamplates(String verfiyConfirmFlag,HttpServletResponse response);
    /**
     * 导入数据
     * @param file
     * @param verfiyConfirmFlag
     * @return
     * @throws Exception
     */
	Boolean saveBatchWithExcel(MultipartFile file, String verfiyConfirmFlag) throws Exception;
    /**
     * BOM小额库表列表
     * @return
     */
	List<Map<String,String>> getSwCkBomSmallPaymentConfirmTableList();
    /**
     * 获取线路信息
     * @return
     */
	List<Map<String,String>> selectLineMap();
    /**
     * 获取车站信息
     * @return
     */
	List<Map<String,String>> selectStationMap();
    /**
     * 获取票种信息
     * @return
     */
	List<Map<String,String>> selectTicketTtypeMap();

    /**
     * 获取BOM小额支付平台数据
     * @param startDateLocalDate
     * @param endDateLocalDate
     * @return
     */
	List<Map<String,Object>> getSwCkBomSmallCount(LocalDate startDateLocalDate, LocalDate endDateLocalDate,String lineCode);

    /**
     * 获取车站售卖营销车票信息
     * @param startDateLocalDate
     * @param endDateLocalDate
     * @return
     */
	List<Map<String,Object>> getCashSale(LocalDate startDateLocalDate, LocalDate endDateLocalDate,String lineCode);
    /**
     * 获取库存车票信息
     * @param startDateLocalDate
     * @param endDateLocalDate
     * @return
     */
    List<Map<String, Object>> getAllSale(LocalDate startDateLocalDate, LocalDate endDateLocalDate,String lineCode);
    /**
     * BOM小额支付平台分页查询
     * @param page
     * @param startDate
     * @param endDate
     * @return
     */
    IPage<SwCkBomSmallPayment> selectPage(Page page, String startDate, String endDate);
    /**
     * 批量更新数据
     * @param integerList
     */
    void updateBatch(List<Integer> integerList);
}
